package com.wsjc.manager.entity;

import java.util.Date;

/**
 * 
 * @Description 医疗集团表
 * @ClassName   WjHealthcare 
 * @Date        2018年7月22日 下午7:09:30 
 * @Author      liyang 
 *
 */
public class WjHealthcare {
	
	/** 主键 */
    private String id;

    /** 秘钥 */
    private String key;

    /** 地址：区具体地址 */
    private String address;

    /** 集团名字（唯一标识） */
    private String name;

    /** 单位联系人姓名 */
    private String contactName;

    /** 联系人电话 */
    private String contactTel;

    /** 单位法人 */
    private String corporateName;

    /** 法人证件类型 */
    private String certificate;

    /** 法人证件号码 */
    private String cernumber;

    /** 卫生许可证号 */
    private String permitsNum;

    /** 许可证有效期 */
    private Date permitDate;

    /** 营业执照有效期 */
    private Date charteredDate;

    /** 区ID */
    private Integer areaId;

    /** 营业执照证号 */
    private String charteredNum;

    /** 创建时间 */
    private Date createTime;

    /** 修改时间 */
    private Date editTime;

    /** 版本信息 */
    private Integer version;

    /** 使用有效期 */
    private Date expireDate;
    

    public WjHealthcare(String id, String key, String address, String name, String contactName, String contactTel, String corporateName, String certificate, String cernumber, String permitsNum, Date permitDate, Date charteredDate, Integer areaId, String charteredNum, Date createTime, Date editTime, Integer version, Date expireDate) {
        this.id = id;
        this.key = key;
        this.address = address;
        this.name = name;
        this.contactName = contactName;
        this.contactTel = contactTel;
        this.corporateName = corporateName;
        this.certificate = certificate;
        this.cernumber = cernumber;
        this.permitsNum = permitsNum;
        this.permitDate = permitDate;
        this.charteredDate = charteredDate;
        this.areaId = areaId;
        this.charteredNum = charteredNum;
        this.createTime = createTime;
        this.editTime = editTime;
        this.version = version;
        this.expireDate = expireDate;
    }

    public WjHealthcare() {
        super();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key == null ? null : key.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName == null ? null : contactName.trim();
    }

    public String getContactTel() {
        return contactTel;
    }

    public void setContactTel(String contactTel) {
        this.contactTel = contactTel == null ? null : contactTel.trim();
    }

    public String getCorporateName() {
        return corporateName;
    }

    public void setCorporateName(String corporateName) {
        this.corporateName = corporateName == null ? null : corporateName.trim();
    }

    public String getCertificate() {
        return certificate;
    }

    public void setCertificate(String certificate) {
        this.certificate = certificate == null ? null : certificate.trim();
    }

    public String getCernumber() {
        return cernumber;
    }

    public void setCernumber(String cernumber) {
        this.cernumber = cernumber == null ? null : cernumber.trim();
    }

    public String getPermitsNum() {
        return permitsNum;
    }

    public void setPermitsNum(String permitsNum) {
        this.permitsNum = permitsNum == null ? null : permitsNum.trim();
    }

    public Date getPermitDate() {
        return permitDate;
    }

    public void setPermitDate(Date permitDate) {
        this.permitDate = permitDate;
    }

    public Date getCharteredDate() {
        return charteredDate;
    }

    public void setCharteredDate(Date charteredDate) {
        this.charteredDate = charteredDate;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public String getCharteredNum() {
        return charteredNum;
    }

    public void setCharteredNum(String charteredNum) {
        this.charteredNum = charteredNum == null ? null : charteredNum.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Date expireDate) {
        this.expireDate = expireDate;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", key=").append(key);
        sb.append(", address=").append(address);
        sb.append(", name=").append(name);
        sb.append(", contactName=").append(contactName);
        sb.append(", contactTel=").append(contactTel);
        sb.append(", corporateName=").append(corporateName);
        sb.append(", certificate=").append(certificate);
        sb.append(", cernumber=").append(cernumber);
        sb.append(", permitsNum=").append(permitsNum);
        sb.append(", permitDate=").append(permitDate);
        sb.append(", charteredDate=").append(charteredDate);
        sb.append(", areaId=").append(areaId);
        sb.append(", charteredNum=").append(charteredNum);
        sb.append(", createTime=").append(createTime);
        sb.append(", editTime=").append(editTime);
        sb.append(", version=").append(version);
        sb.append(", expireDate=").append(expireDate);
        sb.append("]");
        return sb.toString();
    }
}